package com.cpi.basilos.silo.form;

import java.util.Calendar;
import java.util.List;

import org.apache.struts.action.ActionForm;

import com.cpi.basilos.silo.view.SiloFilterView;
import com.cs.common.utils.TimeUtils;

public class SiloForm extends ActionForm{
	private static final long serialVersionUID = 3455371484809768415L;
	private List siloMovementsViews;
	private SiloFilterView siloFilterView;
	
	public SiloForm(){
		super();
		Calendar calendarDate=Calendar.getInstance();
		siloFilterView = new SiloFilterView(); 
		siloFilterView.setDate(TimeUtils.convertJavaDateToString(calendarDate.getTime()));
	}
	
	public List getSiloMovementsViews() {
		return siloMovementsViews;
	}
	public void setSiloMovementsViews(List siloMovementsViews) {
		this.siloMovementsViews = siloMovementsViews;
	}
	public SiloFilterView getSiloFilterView() {
		return siloFilterView;
	}
	public void setSiloFilterView(SiloFilterView siloFilterView) {
		this.siloFilterView = siloFilterView;
	}	
}